Bianbu 3.0 Open-Source AI Command-Line Tools Guide
Overview
Bianbu 3.0 now supports five open-source AI command-line tools: llm, claude-code, gemini-cli, qwen-code, and VSCodium Cline. This guide explains how to install and use these tools on Bianbu 3.0.
Environment Setup
- Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
After installation, restart your terminal or run the following commands:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
- Install the Node.js package provided by SpacemiT
NVM_NODEJS_ORG_MIRROR=http://archive.spacemit.com/nodejs nvm install v22
After installation, verify your environment by running:
bianbu@spacemit-k1-x-MUSE-Pi-Pro-board:~$ nvm -v
0.40.3
bianbu@spacemit-k1-x-MUSE-Pi-Pro-board:~$ node -v
v22.19.0
bianbu@spacemit-k1-x-MUSE-Pi-Pro-board:~$ npm -v
10.9.3
Command-Line Usage
llm
Install directly via:
sudo apt-get install llm
After installation, follow the official documentation for usage instructions: https://llm.datasette.io/en/stable/
claude-code
Install directly via:
npm install -g @anthropic-ai/claude-code
After installation, navigate to your project directory and run claude. Refer to the official documentation for detailed instructions: https://www.claude.com/product/claude-code
gemini-cli
Install directly via:
npm install -g @google/gemini-cli
qwen-code
Install directly via:
npm install -g @qwen-code/qwen-code@latest
After installation, follow the official documentation for usage instructions: https://qwenlm.github.io/qwen-code-docs/
VSCodium+CLine
Install the VSCodium package and the Cline extension to get started.